package com.wing.product.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wing.mybatis.common.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Schema
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "pro_product_variety")
public class WarehouseProductVariety extends BaseEntity<WarehouseProductVariety> {

    @TableField(value = "variety_name")
    @Schema(description="品种名称")
    private String varietyName;

    @TableField(value = "variety_code")
    @Schema(description="品种编码")
    private String varietyCode;

    // 合同价格
    @TableField(value = "contract_price")
    @Schema(description="合同价格")
    private Double contractPrice;

    // 会员价格
    @TableField(value = "member_price")
    @Schema(description="会员价格")
    private Double memberPrice;

    public interface Update{}

    public interface Add{}
}
